import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/emergency_event_plan_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/emergency_event_plan_entity.g.dart';

@JsonSerializable()
class EmergencyEventPlanEntity {

	EmergencyEventPlanEntity();

	factory EmergencyEventPlanEntity.fromJson(Map<String, dynamic> json) => $EmergencyEventPlanEntityFromJson(json);
	String accidentAtTime = '';
  /// 事故概况
	String accidentGeneral = '';
  /// 事故事件名称
	String accidentName = '';
  /// 事故事件Id
	String accidentNameId = '';
  /// 接警时间
	String accidentReceptionTime = '';
  /// 事故现场照片
	List<String> accidentScenePhotos = [];
  /// 其他注意事项
	String anotherAttention = '';
  /// 企业编码
	String companyCode = '';
  /// 创建人
	String createBy = '';
	String createById = '';
	String createDate = '';
  /// 正常-0 已删除-1
	String deleted = '';
  /// 应急专家Id
	List<dynamic>? emergencyExpertId = [];
  /// 事故预案id
	String handlePlanId = '';
  /// 事故预案名称
  String handlePlanName = '';
	String id = '';
  /// 个体防护措施建议
	String instanceProtectAdvice = '';
  /// 现场处置措施建议
	String liveHandelAdvice = '';
  /// 其他附件
	String otherFile = '';
  /// 周边资源Id
	List<dynamic>? refugeId = [];
	List<dynamic>? rescueGoodsId = [];
	List<dynamic>? rescueTeamId = [];
  /// 应急队伍(展示)
  String rescueTeam = '';
  /// 应急物资(展示)
  String rescueGoods = '';
  /// 应急专家(展示)
  String emergencyExpert = '';

	String updateBy = '';
	String updateById = '';
	String updateDate = '';
  /// 总指挥
  String commanderInChief = '';

  /// 副总指挥
  String deputyCommander = '';

  /// 现场副指挥长
  String deputyOnSiteCommander = '';

  /// 现场指挥长
  String onSiteCommander = '';

  /// 现场响应小组
  String onSiteTeam = '';

  /// 事故最新状态
  String accidentUpdate = '';

  /// 处置状态（展示）
  String handleStateLabel = '';

  /// 处置状态（字典）
  String handleState=  '';

	Map<String, dynamic> toJson() => $EmergencyEventPlanEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
